//
//  SaveDetailViewController.m
//  YouGoWeGo
//
//  Created by Dai on 14/11/19.
//  Copyright (c) 2014年 LiuFei. All rights reserved.
//

#import "SaveDetailViewController.h"

@interface SaveDetailViewController ()

@end

@implementation SaveDetailViewController
- (void)dealloc
{
    [super dealloc];
}
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBar.translucent = NO;
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self creatValue];
    
    
}
#pragma mark -
#pragma mark 页面
- (void)creatValue
{
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, self.view.frame.size.width - 20, self.view.frame.size.height - 350)];
    [image setBackgroundColor:[UIColor yellowColor]];
    [self.view addSubview:image];
    [image release];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, image.frame.size.height + 50, self.view.frame.size.width - 20, 200)];
    [self.view addSubview:label];
    //[label setBackgroundColor:[UIColor redColor]];
    [label release];
    
    UILabel *nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, label.frame.size.width - 20, 50)];
    [label addSubview:nameLabel];
    [nameLabel setBackgroundColor:[UIColor blueColor]];
    [nameLabel release];
    
    UILabel *timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 100, 150, 50)];
    [label addSubview:timeLabel];
    [timeLabel setBackgroundColor:[UIColor blueColor]];
    [timeLabel release];
    
    UILabel *addressLabel = [[UILabel alloc] initWithFrame:CGRectMake(195, 100, 150, 50)];
    [label addSubview:addressLabel];
    [addressLabel setBackgroundColor:[UIColor blueColor]];
    [addressLabel release];

}





















/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
